package com.wanxi.feign.fallback;

import com.wanxi.common.result.CommonResult;
import com.wanxi.feign.clients.UserFeignClient;
import org.springframework.stereotype.Component;

@Component
public class UserFeignFallback implements UserFeignClient {
    @Override
    public CommonResult checkAccessToUri(String uri, String username) {
        return CommonResult.failed();
    }
}
